// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.MessageTargetDao;
import com.liuxinlong.modules.entity.MessageTarget;
import com.liuxinlong.modules.mapper.MessageTargetMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 类描述
 * <p>
 * 此类关联设计的功能
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2023年01月04日
 */
@Service
public class MessageTargetDaoImpl extends ServiceImpl<MessageTargetMapper, MessageTarget> implements MessageTargetDao {

    @Override
    public List<MessageTarget> pageMessageTargetList(Map<String, Object> queryParam) {
        return baseMapper.pageMessageTargetList(queryParam);
    }

    @Override
    public void deleteMessageTargetById(String messageId) {
        baseMapper.deleteMessageTargetById(messageId);
    }
}
